package com.gxa.p2p.pojo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

/**
 * @Author xhy
 * @Date 2021/10/27 15:53
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("资金日志")
public class UserRecordVo {
    @ExcelProperty(value = "用户姓名",index = 0)
    @ApiModelProperty(name = "name",value = "用户姓名")
    private String name;
    @ExcelProperty(value = "用户电话",index = 1)
    @ApiModelProperty(name = "phone",value = "用户电话")
    private String phone;
    @ExcelProperty(value = "操作金额类型",index = 2)
    @ApiModelProperty(name = "moneyType",value = "操作金额类型")
    private String moneyType;
    @ExcelProperty(value = "操作金额",index = 3)
    @ApiModelProperty(name = "operatMoney",value = "操作金额")
    private Double operatMoney;
    @ExcelProperty(value = "操作前可用金额",index = 4)
    @ApiModelProperty(name = "beforeUsedMoney",value = "操作前可用金额")
    private Double beforeUsedMoney;
    @ExcelProperty(value = "操作后可用金额",index = 5)
    @ApiModelProperty(name = "afterUsedMoney",value = "操作后可用金额")
    private Double afterUsedMoney;
    @ExcelProperty(value = "操作前冻结金额",index = 6)
    @ApiModelProperty(name = "beforeFreezeMoney",value = "操作前冻结金额")
    private Double beforeFreezeMoney;
    @ExcelProperty(value = "操作后冻结金额",index = 7)
    @ApiModelProperty(name = "afterFreezeMoney",value = "操作后冻结金额")
    private Double afterFreezeMoney;
    @ApiModelProperty(name = "remarks",value = "备注")
    @ExcelProperty(value = "备注",index = 8)
    private String remarks;
    @ApiModelProperty(name = "operatTime",value = "操作时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ExcelProperty(value = "操作时间",index = 9)
    private Timestamp operatTime;















}
